//package cn.com.bsoft.cloud.office
//
//import cn.com.bsoft.cloud.controller.AppointmentParameter
//import cn.com.bsoft.cloud.controller.BindingCardParameter
//import cn.com.bsoft.cloud.dao.healthweb.DCPatientDao
//import cn.com.bsoft.cloud.dao.healthweb.JKWMemberDao
//import cn.com.bsoft.cloud.dao.jmdb.JMAppointmentDao
//import cn.com.bsoft.cloud.dao.jmdb.JMAppointmentDateDao
//import cn.com.bsoft.cloud.entity.jmdb.JMAppointmentDate
//import cn.net.xyan.blossom.kotlin.AllOpen
//import cn.net.xyan.blossom.kotlin.json
//import org.junit.Test
//import org.junit.runner.RunWith
//import org.springframework.beans.factory.annotation.Autowired
//import org.springframework.boot.test.context.SpringBootTest
//import org.springframework.test.context.junit4.SpringRunner
//
//@RunWith(SpringRunner::class)
//@SpringBootTest
//@AllOpen
//class DBTest{
//
//    @Autowired
//    lateinit var patientDao: DCPatientDao
//    @Autowired
//    lateinit var jmAppointmentDao: JMAppointmentDao
//    @Autowired
//    lateinit var jkwMemberDao: JKWMemberDao
//    @Autowired
//    lateinit var jmAppointmentDateDao: JMAppointmentDateDao
//
//    @Test
//    fun test1(){
//        val rsp = patientDao.queryPatientByCardNo("131101573482000")
//
//        println(rsp?.json)
//    }
//    @Test
//    fun test2(){
//        var appointmentParameter = AppointmentParameter()
//        appointmentParameter.appointmentID = 144
//        var rsp =jmAppointmentDao.queryAppointmentByLogicId(appointmentParameter)
//        println(rsp?.json)
//    }
//    @Test
//    fun test3(){
//        var bindingCard = BindingCardParameter();
//        bindingCard.cardID = "131101573482000"
//        var rsp = jkwMemberDao.queryJKWMember(bindingCard)
//        println(rsp?.json)
//    }
//    @Test
//    fun test4(){
//        var jmAppointmentDate= JMAppointmentDate()
//        jmAppointmentDate.appointmentDate = "2017-10-10"
//        jmAppointmentDate.hospitalID = "12121"
////        var rsp = jmAppointmentDateDao.queryAppointmentDateList("2017-10-10","12121")
//        var rsp = jmAppointmentDateDao.queryAppointmentDateList(jmAppointmentDate)
//        println(rsp?.json)
//    }
//
//}